package com.robotserver.orders.entity;

import java.io.Serializable;

/**
 * 饿了么订单
 * 
 * @author lucher
 * @email sunlightcs@gmail.com
 * @date 2023-03-16 11:13:17
 */
public class ElmOrders extends BaseEntity{

	private static final long serialVersionUID = -1752534648454703933L;

	/**
	 * 商品标题
	 */
	private String title;
	/**
	 * 商品图片url
	 */
	private String picUrl;
	/**
	 * 店铺名称
	 */
	private String shopName;
	/**
	 * 付款金额
	 */
	private Double payAmount;
	/**
	 * 结算金额，针对CPS订单
	 */
	private Double settleAmount;
	/**
	 * 点击时间
	 */
	private Integer traceTime;
	/**
	 * 创建时间
	 */
	private Integer tkCreateTime;
	/**
	 * 付款时间
	 */
	private Integer payTime;
	/**
	 * 收货时间
	 */
	private Integer receiveTime;
	/**
	 * 结算时间
	 */
	private Integer settleTime;
	/**
	 * 预估收入。付款之后有值。没结算之前只有income有值
	 */
	private Double income;
	/**
	 * 结算预估收入。最终到手的佣金，没有扣除技术服务；结算之后有值
	 */
	private Double settle;
	/**
	 * 商品ID
	 */
	private String itemId;
	/**
	 * 商品数量
	 */
	private Integer productNum;
	/**
	 * 商品单价
	 */
	private Double unitPrice;
	/**
	 * 商品类目
	 */
	private String categoryName;
	/**
	 * 淘宝子单号
	 */
	private String bizOrderId;
	/**
	 * 淘宝主单号
	 */
	private String parentOrderId;
	/**
	 * 主商品ID，针对CPS订单
	 */
	private String mainItemId;
	/**
	 * 订单状态，0-已失效 1-已下单 2-已付款 4-已收货
	 */
	private Integer orderState;
	/**
	 * 订单补充状态，针对CPS订单，考虑到存在已付款的cps订单发生售中退款，不参与结算的情况需要渠道知晓
	 */
	private String orderItemStatusName;
	/**
	 * 结算状态，1-已结算 2-未结算
	 */
	private Integer settleState;
	/**
	 * 结算基数，针对CPS订单，等于付款金额+平台补贴
	 */
	private Double fullSettleAmount;
	/**
	 * 佣金比率(百分比值)，针对CPS订单
	 */
	private Double commissionRate;
	/**
	 * 佣金金额，针对CPS订单
	 */
	private Double commissionFee;
	/**
	 * 补贴比率(百分比值)，针对CPS订单
	 */
	private Double subsidyRate;
	/**
	 * 补贴金额
	 */
	private Double subsidyFee;
	/**
	 * 收入比率(百分比值)，针对CPS订单，等于佣金比率+补贴比率
	 */
	private Double incomeRate;
	/**
	 * 分成比率（百分比值），针对CPS订单
	 */
	private Double stratifyRate;
	/**
	 * 提成比例（百分比），针对CPS订单，等于收入比率*分成比率
	 */
	private Double deductRate;
	/**
	 * 技术服务费率（百分比值）
	 */
	private Double platformCommissionRate;
	/**
	 * 技术服务费
	 */
	private Double platformCommissionFee;
	/**
	 * 淘宝直播费率(百分比值)，针对CPS订单
	 */
	private Double channelRate;
	/**
	 * 淘宝直播费，针对CPS订单
	 */
	private Double channelFee;
	/**
	 * 媒体ID
	 */
	private String mediaId;
	/**
	 * 媒体名称
	 */
	private String mediaName;
	/**
	 * 推广位ID
	 */
	private String adZoneId;
	/**
	 * 推广位名称
	 */
	private String adZoneName;
	/**
	 * 招商服务费
	 */
	private Double activityFee;
	/**
	 * 招商服务费中的技术服务费
	 */
	private Double activityServiceFee;
	/**
	 * 招商服务费中的技术服务率(百分比值)
	 */
	private Double activityServiceRate;
	/**
	 * 更新时间
	 */
	private Integer gmtModified;
	/**
	 * 售中退 或 售后退
	 */
	private String tag;
	/**
	 * 会员标识
	 */
	private String sid;
	/**
	 * 1口碑，2饿了么
	 */
	private Integer platformType;
	/**
	 * 活动ID
	 */
	private String activityId;
	/**
	 * 核销门店（已加密）
	 */
	private String usedStoreId;
	/**
	 * pid
	 */
	private String pid;
	/**
	 * 卡券订单号
	 */
	private String relationOrderId;
	/**
	 * 场景值，7卡券订单，8卡券核销订单
	 */
	private Integer flowType;
	/**
	 * 0已失效，1已下单，2已付款，3售中退，4已收货，5售后退
	 */
	private Integer orderItemStatus;
	/**
	 * 活动信息明细
	 */
	private String activityInfoRemarkList;
	/**
	 * 权益ID（flow_type=10或11时为媒体出资活动ID）
	 */
	private String channelRightId;
	/**
	 * 订单状态(0订单付款 1订单结算 2订单失效 3维权退款 4无效订单[未支付等情况])
	 */
	private Integer bizStatus;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	@Override
	protected Serializable pkVal() {
		return this.getId();
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public Double getPayAmount() {
		return payAmount;
	}

	public void setPayAmount(Double payAmount) {
		this.payAmount = payAmount;
	}

	public Double getSettleAmount() {
		return settleAmount;
	}

	public void setSettleAmount(Double settleAmount) {
		this.settleAmount = settleAmount;
	}

	public Integer getTraceTime() {
		return traceTime;
	}

	public void setTraceTime(Integer traceTime) {
		this.traceTime = traceTime;
	}

	public Integer getTkCreateTime() {
		return tkCreateTime;
	}

	public void setTkCreateTime(Integer tkCreateTime) {
		this.tkCreateTime = tkCreateTime;
	}

	public Integer getPayTime() {
		return payTime;
	}

	public void setPayTime(Integer payTime) {
		this.payTime = payTime;
	}

	public Integer getReceiveTime() {
		return receiveTime;
	}

	public void setReceiveTime(Integer receiveTime) {
		this.receiveTime = receiveTime;
	}

	public Integer getSettleTime() {
		return settleTime;
	}

	public void setSettleTime(Integer settleTime) {
		this.settleTime = settleTime;
	}

	public Double getIncome() {
		return income;
	}

	public void setIncome(Double income) {
		this.income = income;
	}

	public Double getSettle() {
		return settle;
	}

	public void setSettle(Double settle) {
		this.settle = settle;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public Integer getProductNum() {
		return productNum;
	}

	public void setProductNum(Integer productNum) {
		this.productNum = productNum;
	}

	public Double getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getBizOrderId() {
		return bizOrderId;
	}

	public void setBizOrderId(String bizOrderId) {
		this.bizOrderId = bizOrderId;
	}

	public String getParentOrderId() {
		return parentOrderId;
	}

	public void setParentOrderId(String parentOrderId) {
		this.parentOrderId = parentOrderId;
	}

	public String getMainItemId() {
		return mainItemId;
	}

	public void setMainItemId(String mainItemId) {
		this.mainItemId = mainItemId;
	}

	public Integer getOrderState() {
		return orderState;
	}

	public void setOrderState(Integer orderState) {
		this.orderState = orderState;
	}

	public String getOrderItemStatusName() {
		return orderItemStatusName;
	}

	public void setOrderItemStatusName(String orderItemStatusName) {
		this.orderItemStatusName = orderItemStatusName;
	}

	public Integer getSettleState() {
		return settleState;
	}

	public void setSettleState(Integer settleState) {
		this.settleState = settleState;
	}

	public Double getFullSettleAmount() {
		return fullSettleAmount;
	}

	public void setFullSettleAmount(Double fullSettleAmount) {
		this.fullSettleAmount = fullSettleAmount;
	}

	public Double getCommissionRate() {
		return commissionRate;
	}

	public void setCommissionRate(Double commissionRate) {
		this.commissionRate = commissionRate;
	}

	public Double getCommissionFee() {
		return commissionFee;
	}

	public void setCommissionFee(Double commissionFee) {
		this.commissionFee = commissionFee;
	}

	public Double getSubsidyRate() {
		return subsidyRate;
	}

	public void setSubsidyRate(Double subsidyRate) {
		this.subsidyRate = subsidyRate;
	}

	public Double getSubsidyFee() {
		return subsidyFee;
	}

	public void setSubsidyFee(Double subsidyFee) {
		this.subsidyFee = subsidyFee;
	}

	public Double getIncomeRate() {
		return incomeRate;
	}

	public void setIncomeRate(Double incomeRate) {
		this.incomeRate = incomeRate;
	}

	public Double getStratifyRate() {
		return stratifyRate;
	}

	public void setStratifyRate(Double stratifyRate) {
		this.stratifyRate = stratifyRate;
	}

	public Double getDeductRate() {
		return deductRate;
	}

	public void setDeductRate(Double deductRate) {
		this.deductRate = deductRate;
	}

	public Double getPlatformCommissionRate() {
		return platformCommissionRate;
	}

	public void setPlatformCommissionRate(Double platformCommissionRate) {
		this.platformCommissionRate = platformCommissionRate;
	}

	public Double getPlatformCommissionFee() {
		return platformCommissionFee;
	}

	public void setPlatformCommissionFee(Double platformCommissionFee) {
		this.platformCommissionFee = platformCommissionFee;
	}

	public Double getChannelRate() {
		return channelRate;
	}

	public void setChannelRate(Double channelRate) {
		this.channelRate = channelRate;
	}

	public Double getChannelFee() {
		return channelFee;
	}

	public void setChannelFee(Double channelFee) {
		this.channelFee = channelFee;
	}

	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	public String getMediaName() {
		return mediaName;
	}

	public void setMediaName(String mediaName) {
		this.mediaName = mediaName;
	}

	public String getAdZoneId() {
		return adZoneId;
	}

	public void setAdZoneId(String adZoneId) {
		this.adZoneId = adZoneId;
	}

	public String getAdZoneName() {
		return adZoneName;
	}

	public void setAdZoneName(String adZoneName) {
		this.adZoneName = adZoneName;
	}

	public Double getActivityFee() {
		return activityFee;
	}

	public void setActivityFee(Double activityFee) {
		this.activityFee = activityFee;
	}

	public Double getActivityServiceFee() {
		return activityServiceFee;
	}

	public void setActivityServiceFee(Double activityServiceFee) {
		this.activityServiceFee = activityServiceFee;
	}

	public Double getActivityServiceRate() {
		return activityServiceRate;
	}

	public void setActivityServiceRate(Double activityServiceRate) {
		this.activityServiceRate = activityServiceRate;
	}

	public Integer getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Integer gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public Integer getPlatformType() {
		return platformType;
	}

	public void setPlatformType(Integer platformType) {
		this.platformType = platformType;
	}

	public String getActivityId() {
		return activityId;
	}

	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}

	public String getUsedStoreId() {
		return usedStoreId;
	}

	public void setUsedStoreId(String usedStoreId) {
		this.usedStoreId = usedStoreId;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getRelationOrderId() {
		return relationOrderId;
	}

	public void setRelationOrderId(String relationOrderId) {
		this.relationOrderId = relationOrderId;
	}

	public Integer getFlowType() {
		return flowType;
	}

	public void setFlowType(Integer flowType) {
		this.flowType = flowType;
	}

	public Integer getOrderItemStatus() {
		return orderItemStatus;
	}

	public void setOrderItemStatus(Integer orderItemStatus) {
		this.orderItemStatus = orderItemStatus;
	}

	public String getActivityInfoRemarkList() {
		return activityInfoRemarkList;
	}

	public void setActivityInfoRemarkList(String activityInfoRemarkList) {
		this.activityInfoRemarkList = activityInfoRemarkList;
	}

	public String getChannelRightId() {
		return channelRightId;
	}

	public void setChannelRightId(String channelRightId) {
		this.channelRightId = channelRightId;
	}

	public Integer getBizStatus() {
		return bizStatus;
	}

	public void setBizStatus(Integer bizStatus) {
		this.bizStatus = bizStatus;
	}
}
